import { HotItems, HotResult } from '../types/hot'
import { http } from '../utils/http'

export const getHotRecommendAPI = (url: string, data?: HotItems) => {
  return http<HotResult>({
    method: 'GET',
    url,
    data,
  })
}
